<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<h2 align="center">个人信息</h2>
    <form  method="get" action="/personInformation" th:object="${student}">
        <table>
            <tr th:object="${temp}">
                <td>用户名:</td>
                <td th:text="*{username}"></td>
            </tr>
            <tr>
                <td>姓名：</td>
                <td>
                    <input type="text" name="sname" th:field="*{sname}"/>
                </td>
            </tr>
            <tr>
                <td>性别：</td>
                <td><input type="text" name="sex" th:filed="*{sex}">
                </td>
            </tr>
            <tr>
                <td>年级：</td>
                <td><input type="text" name="grade" th:filed="*{grade}">
                </td>
            </tr>
            <tr>
                <td>学号：</td>
                <td><input type="text" name="sid" th:filed="*{sid}">
                </td>
            </tr>
            <tr>
                <td>专业：</td>
                <td><input type="text" name="major" th:filed="*{major}">
                </td>
            </tr>
            <tr>
                <td>学院：</td>
                <td><input type="text" name="college" th:filed="*{college}">
                </td>
            </tr>
        </table>
        <input type="submit"  value="进入选课页面" />
    </form>
</body>
</html>